setWidth

open fun setWidth(width: Int)(source)

Sets the width of the popup window in pixels. Can also be MATCH_PARENT or WRAP_CONTENT.

Parameters

width

Width of the popup window.